<?php
/***************************************************************
*  Copyright notice
*  (c) 2009, jianyuzhu@gmail.com
*  All rights reserved
*  This script is part of the PPEMI project.
***************************************************************/

//
include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'base.item.class.php');

class _CommentContentBase extends BaseItemBase {
	
	//constructor
	function _CommentContentBase() {
		parent::BaseItemBase();
		
		$this->table = 'pp_contents_comments';
		$this->prefix = 'comments_';
	}
	
	//methods
}

//
include_once(CONFIG_PATH . CONFIG_DIR_CLASSES . 'module/comment/comment.class.php');

class CommentContentBase extends CommentBase {
	//target ==> contents_id
	var $_target = 0;
	//
	var $_type = COMMENT_TYPE_CONTENT;
	
	//constructor
	function CommentContentBase() {
		parent::CommentBase();
	}
	
	//methods
}
//
?>